package com.ttedu.util;

import java.util.HashMap;
import java.util.LinkedHashMap;

public class KeyUtil {
	
	/*
	 * 状态
	 * */
	public static final int ACTIVE=1;//启用
	public static final int INACTIVE=0; //停用
	
	//内置类型
	public static final int DTYPES_RADIO=1;//单选
	public static final int DTYPES_CHECKBOX=2;//复选框
	public static final int DTYPES_INPUT=3;//单行文本框
	public static final int DTYPES_TEXTARER=4;//多行文本框
	public static HashMap dtypesList(){
		HashMap map=new LinkedHashMap();
		map.put(DTYPES_RADIO, "单选");
		map.put(DTYPES_CHECKBOX, "复选框");
		map.put(DTYPES_INPUT, "单行文本框");
		map.put(DTYPES_TEXTARER, "多行文本框");
		return map;
	}
	
	
	
	
	
	
}
